<!--
- @founder   IT柏拉图, https: //weibo.com/itprato
- @author    DedeCMS团队
- @copyright Copyright (c) 2007 - 2021, 上海卓卓网络科技有限公司 (DesDev, Inc.)
--->

<html>
<head>
<meta charset="{dede:global.cfg_soft_lang/}" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>tags管理</title>
<meta name="copyright" content="2007-2021 DedeCMS, 上海卓卓网络科技有限公司 (DesDev, Inc.)" />
<link rel="icon" href="/favicon.ico" />
<!-- CSS FILES -->
<link rel="stylesheet" type="text/css" href="{dede:global.cfg_assets_dir/}/pkg/uikit/css/uikit.min.css" />
<link rel="stylesheet" type="text/css" href="{dede:global.cfg_assets_dir/}/css/manage.dede.css">
</head>
<body>
<div id="Table_Header_202X2W2X1X292F" class="uk-card uk-card-small uk-card-default" uk-sticky="bottom: #offset">
<div id="Header_1W2T2S2T1V252B" class="uk-card-header">
<div class="uk-grid uk-grid-small uk-text-small">
<span><ul class="uk-breadcrumb"><li><span>Tags标签管理</span></li></ul></span>
</div>
<!-- 搜索表单 -->
<ul class="uk-navbar-nav dede-card-navbar" uk-navbar >
<li style="margin-right: 12px;">
<button type='submit' class="uk-button-default uk-form-small uk-flex-inline "><span class="dede-toolbar-icon" uk-icon="icon: tags;ratio:0.8"></span> 获取Tags</button>
<div class="uk-navbar-dropdown " uk-dropdown="offset: 12;mode: click" style="width: 300px;">
<ul class="uk-nav uk-navbar-dropdown-nav" >
<li> <form name='form3' method='get'>
<fieldset id="dede-dropdown-margin" class="uk-fieldset">
<div class="uk-margin">
<input type='text' class="uk-input uk-form-small uk-flex-inline uk-width-1-1" name='startaid' value='<?php echo $tag;?>' placeholder="文章开始ID"/>
</div>
<div class="uk-margin">
<input type='text' class="uk-input uk-form-small uk-flex-inline uk-width-1-1" name='endaid' value='<?php echo $tag;?>' placeholder="文章结束ID"/>
</div>
<button type='submit' class="uk-button-primary uk-form-small uk-width-1-1" > <span class="dede-toolbar-icon" uk-icon="icon: tags;ratio:0.8"></span> 获取</button>
</fieldset>
</form>
</li>
</ul>
</div>
</li>
<li>
<button type='submit' class="uk-button-default uk-form-small uk-flex-inline "><span class="dede-toolbar-icon" uk-icon="icon: filter-circle;ratio:0.8"></span> 筛选</button>
<div class="uk-navbar-dropdown " uk-dropdown="offset: 12;mode: click" style="width: 300px;">
<ul class="uk-nav uk-navbar-dropdown-nav" >
<li>
<form name='form3' method='get'>
<input type='hidden' name='dopost' value='listArchives' />
<fieldset id="dede-dropdown-margin" class="uk-fieldset">
<div class="uk-margin">
<input type='text' class="uk-input uk-form-small uk-flex-inline uk-width-1-1" name='tag' value='<?php echo $tag;?>' placeholder="标签"/>
</div>
<button type='submit' class="uk-button-primary uk-form-small uk-width-1-1" > <span class="dede-toolbar-icon" uk-icon="icon: search;ratio:0.8"></span> 查找</button>
</fieldset>
</form>
</li>
</ul>
</div>
</li>
</ul>
<!-- /搜索表单 -->
</div>
<table id="dede-table-toolbar" class="uk-table uk-table-middle uk-table-divider uk-table-striped uk-margin-remove">
<thead>
<tr>
<td width="6%">ID</td>
<td width="6%"></td>
<td>标签</td>
<td width="10%"><a href="tags_main.php?tag=<?php echo $tag;?>&orderby=count&orderway=<?php echo $neworderway;?>"><u>点击</u></a>
</td>
<td width="10%"><a href="tags_main.php?tag=<?php echo $tag;?>&orderby=total&orderway=<?php echo $neworderway;?>"><u>文档数</u></a>
</td>
<td width="15%"><a href="tags_main.php?tag=<?php echo $tag;?>&orderby=addtime&orderway=<?php echo $neworderway;?>"><u>添加时间</u></a>
</td>
<td width="15%">更新时间</td>
<td width="20%">操作</td>
</tr>
</thead>
</table>
</div>
<div id="Table_Body_1X2V2U2V1W272D" class="uk-card uk-card-small uk-card-default" style="top: -51;">
<div class="uk-card-body uk-overflow-auto" grid>
<div class="uk-child-width-1-1">
<div class="uk-overflow-auto">
<table class="uk-table uk-table-hover uk-table-middle uk-table-divider uk-table-striped uk-margin-remove">
<thead>
<tr>
<td width="6%">ID</td>
<td width="6%"></td>
<td>标签</td>
<td width="10%"><a href="tags_main.php?tag=<?php echo $tag;?>&orderby=count&orderway=<?php echo $neworderway;?>"><u>点击</u></a>
</td>
<td width="10%"><a href="tags_main.php?tag=<?php echo $tag;?>&orderby=total&orderway=<?php echo $neworderway;?>"><u>文档数</u></a>
</td>
<td width="15%"><a href="tags_main.php?tag=<?php echo $tag;?>&orderby=addtime&orderway=<?php echo $neworderway;?>"><u>添加时间</u></a>
</td>
<td width="15%">更新时间</td>
<td width="20%">操作</td>
</tr>
</thead>
<tbody>
<!-- 内容列表 -->
{dede:datalist}
<form action="tags_main.php?action=update" method="post">
<input type="hidden" name="tid" value="{dede:field.id /}" class='uk-checkbox dede-checkbox' />
<tr>
<td>{dede:field.id /}</td>
<td><input type="checkbox" value="{dede:field.id /}" class='uk-checkbox dede-checkbox' /></td>
<td><a href="../tags.php?/{dede:field.tag function='urlencode(dede_htmlspecialchars(@me))' /}/" target="_blank">{dede:field.tag function='dede_htmlspecialchars(@me)' /}</a></td>
<td><input type='text' class='uk-input uk-form-small' value='{dede:field.count /}'' name="count" /></td>
<td>{dede:field.total /}</td>
<td>{dede:field.addtime function='GetDateMk(@me)'/}</td>
<td>{dede:field.uptime function='GetDateMk(@me)'/}</td>
<td>
<button type="submit" class="uk-button uk-button-link">[更新]</button>
<a href='tags_main.php?action=delete&ids={dede:field.id /}'>[删除]</a>
</td>
</tr>
</form> {/dede:datalist}
<!-- /内容列表 -->
</tbody>
<!-- 批量操作 -->
<thead>
<tr>
<td></td>
<td><input type="checkbox" id="select-all" class="uk-checkbox" /></td>
<td height="36" colspan="6">
<button type='button' onclick="DedeCMS_JSCODE_Version_Checked_Action('tags_main.php?action=delete&ids=')" class="uk-button uk-button-default uk-button-small">删除所选</button>
</td>
</tr>
</thead>
<!-- /批量操作 -->
<!-- 分页 -->
<thead>
<tr>
<td height="36" colspan="10" align="center">
{dede:pagelist /}
</td>
</tr>
</thead>
<!-- /分页 -->
</table>
</div>
</div>
</div>
</div>
<!-- 列表底部 -->
<div class="bar-bottom uk-flex uk-light uk-flex-right">
<div class="uk-button-group" style="margin-left: 50px;">
</div>
<div class="e1e02">Copyright &copy; 2007-2021 <a href='http://www.dedecms.com' target='_blank'><u>DedeCMS</u></a>, 上海卓卓网络科技有限公司 (DesDev, Inc.)</div>
</div>
<!-- 列表底部 -->
<!-- JS FILES -->
<script src="{dede:global.cfg_assets_dir/}/pkg/uikit/js/uikit.min.js"></script>
<script src="{dede:global.cfg_assets_dir/}/pkg/uikit/js/uikit-icons.min.js"></script>
<script src="{dede:global.cfg_assets_dir/}/pkg/jquery/jquery.min.js"></script>
<script src="{dede:global.cfg_assets_dir/}/js/dede.manage.min.js"></script>
<script language="javascript">
function UpdateOne(tid) {
location = "tags_main.php?action=update&count=" + document.getElementById('count' + tid).value + "&tid=" + tid;
}
</script>
</body>
</html>
